//
//  ViewController.m
//  JKFloatingBox
//
//  Created by 王冲 on 2019/9/17.
//  Copyright © 2019 王冲. All rights reserved.
//

#import "ViewController.h"
#import "JKSuspensionViewManager.h"
@interface ViewController ()

@property (nonatomic, strong) JKSuspensionViewManager *suspensionViewManager;


@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor greenColor];
    
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    
    self.suspensionViewManager = [JKSuspensionViewManager sharedSuspensionViewManager];
    [self.suspensionViewManager createSuspension];
    [self.suspensionViewManager displaySuspension];
}


@end
